package org.csmzxy.class233440;

public class TechDepartment extends Department{
    public TechDepartment(String name,int numOFMembers){
        super.name = name;
        super.numOfMembers = numOFMembers;
    }

    @Override
    public void work() {
        System.out.println(super.name+"负责技术研发、软件开发和系统维护等，"+"部门有"+super.numOfMembers+"人。");
    }
}